home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4856 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.4 KB

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Incompatibility between BC4.5 32 bit DLL and MSVC 2.0 exe
  5. Date: Thu, 01 Feb 1996 12:47:10 +0200
  6. Organization: Carelcomp Forest
  7. Message-ID: <31109A2E.2808@cmt.lpr.mail.carel.fi>
  8. References: <4epure$k3p@idefix.eunet.fi>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0b6a (WinNT; I)
  14.  
  15. Planmeca Oy wrote:
  16. > We have a "minor" problem. Part of our development team is developing
  17. > (32 bit) DLL:s with BC4.5 c++. Another part is developing the application
  18. > which needs to use that DLL. While trying to build the executable with
  19. > the LIB generated by BC for that DLL, MSVC complains: invalid or
  20. > corrupted library file.
  21. > We use C (not C++) interface between the EXE and the DLL.
  22. > The same approach works with 16 bit EXE and 16 bit DLL. Is there anything
  23. > to do?
  24.  
  25. I haven't used BC4.5 so this may not be correct, but what comes to MS compilers, they use 
  26. COFF format for object files (and libraries), and it might be that Borland doesn't. For 
  27. 16-bit objects, they both use the Intel Relocatable Module Format with Microsoft/Borland 
  28. extensions. Also, the way to store symbolic information differs. You would want to check 
  29. the compile/link switches and modes.
  30.  
  31. Later,
  32.  AriL
  33. -- 
  34. All my opinions are mine and mine alone.
  35.